package com.iot.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.iot.common.annotation.Excel;
import com.iot.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 device_state_logs
 * 
 * @author iot
 * @date 2024-11-22
 */
@Data
public class DeviceStateLogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 关机 */
    @Excel(name = "关机")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deviceShutDown;

    /** 开机 */
    @Excel(name = "开机")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deviceBootUp;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private Integer deviceState;

    /** 是否被删除 */
    @Excel(name = "是否被删除")
    private Integer isDeleted;


}
